package com.cskaoyan.shopping.service;

import com.cskaoyan.shopping.dto.CartProductDto;
import com.cskaoyan.shopping.form.CartRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: bwj
 * @Date: 2022/09/20/19:54
 * @Description:
 */
public interface ShoppingCartService {
    Integer newCart(CartRequest newCartsBo);

    List<CartProductDto> carts(Long uid);

    void deleteCart(Integer uid, Integer pid);

    void putCart(CartRequest cartRequest);

    void deleteItems(Long uid);

    void newItems(CartRequest cartRequest);
}
